package main

import (
	"fmt"
)

func main() {
	var N1 int
	var N2 int
	var N3 int
	fmt.Scanf("%d%d%d", &N1, &N2, &N3)
	if N2 > N1 {
		N1 = N2
	}
	if N3 > N1 {
		N1 = N3
	}
	fmt.Print(N1)
}
